#!/bin/bash
$folder_name = $1
$git_url     = $2

cd $folder_name
git init
git remote add origin $git_url
git pull --rebase origin master
git add .
git commit -m 'first commit by my scripts'
git push -u origin master